"""
Task 2

Creating a dictionary.

Create a function called make_country, which takes in a country’s name and capital as parameters. Then create a
dictionary from those two, with ‘name’ as a key and ‘capital’ as a parameter. Make the function print out the values
of the dictionary to make sure that it works as intended.
"""


def make_country(country_name, capital):
    country_dict = {country_name: capital}
    print(country_dict)


if __name__ == "__main__":
    entered_country = list(input("Enter country name and the capital: ").split(" "))
    make_country(entered_country[0], entered_country[1])
